import React from 'react';
import { AutoComplete, Input } from 'antd';
const { TextArea } = Input;


const dataSource = ['Burns Bay Road', 'Downing Street', 'Wall Street'];
 
const Complete = props =>{
    return (
      <AutoComplete
      style={{ width: 200 }}
      dataSource={dataSource}
      placeholder="尝试键入“b”"
      filterOption={(inputValue, option) =>
        option.props.children.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1
      }
    />
    )
}
export default Complete